export const titles = {
	id: '编号',// id
	unityName: '监管单位',// unityName
	useUnityName: '所属单位',// unityName
	useType: '使用方类型',// useType
	useInfo: '使用方名称',// useTypeName
	city: '所在城市',// place
	deviceId: '设备编号',// deviceSN
	deviceSN: '设备序列号',// deviceSN
	commStatus: '设备状态',// commStatus
	empType:'授权来源',
	updatedAt: '更新时间',// startTime


	productName: '产品类型',// productName
	alarmTitle: '告警事件',// alarmTitle
	alarmType: '告警类型',// alarmType
	confirm:"确认结果",// confirm
	createdAt: '告警时间',// createdAt
	nickname:"个体用户",// nickname
	productId: '产品类型',// productId
	alarmLevel: '事件等级',// startTime

}
export const prompt = {
	useUnityName: '请输入' + titles.useUnityName,
	deviceSN: '请输入' + titles.deviceSN,
	alarmTitle: '请输入' + titles.alarmTitle,
	alarmType: '请选择' + titles.alarmType,
	confirm: '请选择' + titles.confirm,
	nickname: '请输入' + titles.nickname,
	productId: '请选择' + titles.productId,
	commStatus: '请选择' + titles.alarmLevel,
}
export const defaultSearchForm = () => {
	return {
		unityName: '',// unityName
		projectName: '',// projectName
		nickName:"",
		deviceSN:'',
		empType:"",
		commStatus:"",
		page: 1,
		limit: 10,
	}
}
export const defaultInfoForm = () => {
	return {
		id: null,// id
		supUnityName: null,// supUnityName
		unityName: null,// unityName
		projectName: null,// projectName
		city: null,// city
		contactName: null,// contactName
		contactPhone: null,// contactPhone
		updatedAt: null,// updatedAt
		supUnityId:"",
		projectId:""
	}
}
